package com.ajieee.merge.enums.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ajieee
 * @date 2025-10-25
 */
@Getter
@AllArgsConstructor
public enum ResultCode {

	SUCCESS(200, "成功"),
	FAILED(500, "失败"),
	PARAM_ERROR(-1, "参数校验失败"),
	DATA_REPEATED(-2, "数据重复"),
	BIZ_PROCESS_ERROR(-3, "业务逻辑错误"),
	;

	private final int code;

	private final String message;

}
